

<template>
  <div>
      <h2>Home - HOme -  首页  </h2>
      <button @click="gotomine" >进入个人中心</button>
      <Parent></Parent>
  </div>
</template>

<script>
import router from '../router'
import Parent from '../components/Parent.vue'
export default {
   data(){
    return {

    }
  },
  components:{
    Parent
  },
  methods:{
    gotomine(){
      this.$router.push("/mine")
    }
  },
  mounted(){
    console.log(this.$router)
    console.log(router)
  }
}
</script>

<style>
</style>
